package com.rainy.upload.exception;

public class ExceptionFactory {

    public static AppException newInstanceApp(String message) {
        return new AppException(ExceptionCode.BIZ_CODE, ExceptionLevel.MIDDLE, message);
    }

    public static AppException newInstanceApp(String code, Integer level, String message) {
        return new AppException(code, level, message);
    }

}
